package com.icinfo.wanandroid.base.activity;

import android.view.View;
import android.view.ViewGroup;

import com.airbnb.lottie.LottieAnimationView;
import com.icinfo.wanandroid.base.presenter.BasePresenter;

/**
 * Author: 胡高建
 * Comment: //TODO
 * Date: 2019-07-24 17:35
 */
public abstract class BaseRootActivity<T extends BasePresenter> extends BaseActivity<T> {

    private static final int NORMAL_STATE = 0;
    private static final int LOADING_STATE = 1;
    public static final int ERROR_STATE = 2;

    private LottieAnimationView mLoadingAnimation;
    private View mErrorView;
    private View mLoadingView;
    private ViewGroup mNormalView;
    private int currentState = NORMAL_STATE;

    @Override
    protected void initEventAndData() {
        super.initEventAndData();
    }
}
